using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN PhanCongGiangDayServiceBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:07/10/2010 39:07:23</para>
	/// <para>Class Name: PhanCongGiangDayServiceBase</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class PhanCongGiangDayService : IPhanCongGiangDayService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: PhanCongGiangDay_ID</para>
		/// <para>Output: PhanCongGiangDayEntity</para>
		///</summary>
		public PhanCongGiangDayEntity SelectOne(int PhanCongGiangDay_ID){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.SelectOne(PhanCongGiangDay_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of PhanCongGiangDayEntity</para>
		///</summary>
		public List<PhanCongGiangDayEntity> SelectAll(){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of PhanCongGiangDayEntity</para>
		///</summary>
		public List<PhanCongGiangDayEntity> SelectAllFilter(string strFilter){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: Save</para>
		/// <para>Input: PhanCongGiangDayEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(PhanCongGiangDayEntity o){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: Save</para>
		/// <para>Input: PhanCongGiangDayEntity</para>
		/// <para>Output: PhanCongGiangDayEntity</para>
		///</summary>
		public PhanCongGiangDayEntity SaveRet(PhanCongGiangDayEntity o){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of PhanCongGiangDayEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<PhanCongGiangDayEntity> list){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of PhanCongGiangDayEntity</para>
		/// <para>Output: List of PhanCongGiangDayEntity</para>
		///</summary>
		public List<PhanCongGiangDayEntity> SaveListRet(List<PhanCongGiangDayEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: Update</para>
		/// <para>Input: PhanCongGiangDayEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(PhanCongGiangDayEntity o){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of PhanCongGiangDayEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<PhanCongGiangDayEntity> list){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: UpdateGiaoVien_ID</para>
		/// <para>Input: NewGiaoVien_ID,PhanCongGiangDay_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateGiaoVien_ID(int NewGiaoVien_ID,int PhanCongGiangDay_ID){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.UpdateGiaoVien_ID(NewGiaoVien_ID,PhanCongGiangDay_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: UpdateMonHoc_ID</para>
		/// <para>Input: NewMonHoc_ID,PhanCongGiangDay_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateMonHoc_ID(int NewMonHoc_ID,int PhanCongGiangDay_ID){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.UpdateMonHoc_ID(NewMonHoc_ID,PhanCongGiangDay_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: UpdateSucGiang</para>
		/// <para>Input: NewSucGiang,PhanCongGiangDay_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSucGiang(int NewSucGiang,int PhanCongGiangDay_ID){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.UpdateSucGiang(NewSucGiang,PhanCongGiangDay_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: Delete</para>
		/// <para>Input: PhanCongGiangDayEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(PhanCongGiangDayEntity o){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:07/10/2010 39:07:23</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: PhanCongGiangDay_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int PhanCongGiangDay_ID){
			PhanCongGiangDayDAO dao = new PhanCongGiangDayDAO();
			return dao.DeleteByID(PhanCongGiangDay_ID);
		}
		#endregion

		#region Select join to GiaoVienMonHoc functions
		#endregion

		#region Select join to GiaoVien functions
		#endregion

		#region Select join to MonHoc functions
		#endregion

		#region Select,delete by PhanCongGiangDay_ID functions
		#endregion

		#region Select,delete by GiaoVien_ID functions
		#endregion

		#region Select,delete by MonHoc_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END PhanCongGiangDayWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

